DiagramLite Programmer's Guide
Shape Constructor (Byte[], String)
See Also
 





Initializes a new instance of the Shape class with the specified outline and id.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public Shape (
    byte[] outline,
    string id
)

Visual Basic  Copy Code

Public New ( _
    outline() As Byte, _
    id As String _
)

 Parameters

outline

An array containing even number of coordinate values, which define the points of the shape outline.

id

The string identifier of the new shape.

 Remarks

The specified array should contain even number of values. Each odd value represents the x-coordinate and each even value represents the y-coordinate of the corresponding point in the shape outline.

 See Also

Shape Constructor Overload List
Shape Class
MindFusion.Diagramming Namespace